package cn.lwy.example.niit_race.dao;

import cn.lwy.example.niit_race.pojo.Role;
import cn.lwy.example.niit_race.pojo.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface LoginMapper {
    SysUser findUserByName(String name);
    Role findRoleById(int roleId);
    void addUser(SysUser user);
}
